<?php
class InvoiceAction extends CommonAction {
	function index(){
        parent::_list();
		$this->display();
	}
	
	public function template(){
		$info = $this->dao -> where(array('site_id' => $this->siteid, 'id' => $this->_get("id"))) -> find();
		$this->assign('info', $info);
		$this->display();
	}
}